#!/bin/bash

cd ../ryuapp/

DIRNAME='test2_result2'


for k in `seq 1 10`; do
    echo $k
    lambda=$(echo "scale=1; $k/10.0" | bc)
    echo $lambda
    ~/Desktop/note/del-flows.sh 0 39 n
    sleep 3
    FILENAME="Geant-2012-10host-lambda-$k.txt"
    ryu-manager --observe-links --user-flags testapp_flags.py --test_lambda $lambda testapp.py > ../eval/result/$DIRNAME/$FILENAME
    cat ../eval/result/$DIRNAME/$FILENAME | tail -n 100
    sleep 3
done